/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  ManyTreeNode.java                                      
 *  File Contents Outline :  树节点                  
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */

/*
 
/*

 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.edu.thu.log.tree;

import java.util.ArrayList;

/**
 * 多叉树节点
 * @author wan
 */
public class  ManyTreeNode{
    private XMLNode data;//节点内容
    private ArrayList<ManyTreeNode> childList;//节点列表
    
    public  ManyTreeNode(XMLNode data, ArrayList<ManyTreeNode> childList){
        this.data=data;
        this.childList=childList;
    }
      /**
     * @return the node
     */
    public XMLNode getData() {
        return data;
    }

    /**
     * @param node the node to set
     */
    public void setData(XMLNode data) {
        this.data = data;
    }

    /**
     * @return the childList
     */
    public ArrayList<ManyTreeNode> getChildList() {
        return childList;
    }

    /**
     * @param childList the childList to set
     */
    public void setChildList(ArrayList<ManyTreeNode> childList) {
        this.childList = childList;
    }
    
//    public ManyTreeNode getParentNode(ManyTreeNode childNode){
//        
//    }
}
